<template>
  <text-box-group-panel
    title="道闸"
    :reading="reading"
    :info="info"
  >
  </text-box-group-panel>
</template>

<script>
import TextBoxGroupPanel from './text-box-group-panel'

export default {
  name: 'BarrierGate',

  components: {
    TextBoxGroupPanel
  },

  data () {
    return {
      reading: 6, // 读数
      info: [{
        title: '在线',
        value: 6,
        span: 12
      }, {
        title: '异常',
        value: 0,
        span: 12,
        type: 'danger'
      }]
    }
  }
}
</script>
